home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / WimpSWIs / s / 35ReadPal < prev    next >
Text File  |  1995-08-26  |  2KB  |  60 lines

  1. ;
  2. ;       Title                  : Wimp Read Palette
  3. ;       System                 : Wimp Library
  4. ;       Version                : 1.2
  5. ;       Copyright              : (C) John Winters
  6. ;       Date                   : 12th January, 1990
  7. ;       Author                 : John H. Winters
  8. ;
  9. ;       Function               : Reads the palette.
  10. ;
  11. ;
  12. ;       Modification history.
  13. ;
  14. ;       Version                : 1.1 (Reflect in header IDENT)
  15. ;       Date                   : 24th October, 1991
  16. ;       Author                 : John H. Winters
  17. ;       Changes                : Corrected to return.
  18. ;
  19. ;       Version                : 1.2 (Reflect in header IDENT)
  20. ;       Date                   : 25th January, 1992
  21. ;       Author                 : John H. Winters
  22. ;       Changes                : Correction corrected.
  23. ;
  24. ;       Version                : (Reflect in header IDENT)
  25. ;       Date                   :
  26. ;       Author                 :
  27. ;       Changes                :
  28. ;
  29. ;
  30. ;============================================================================
  31. ;
  32. ;  Include files.
  33. ;
  34. ;============================================================================
  35. ;
  36.         GET     ^.h.regdefs
  37.         GET     ^.h.swinos
  38.         GET     ^.h.macros
  39. ;
  40. ;============================================================================
  41. ;
  42. ;  Code.
  43. ;
  44. ;============================================================================
  45. ;
  46.         PREAMBLE
  47.         STARTCODE Wimp_ReadPalette
  48. ;
  49. ;        STMFD   sp!, {lr}
  50.         MOV     ip, lr
  51.  
  52.         MOV     a2, a1
  53.         SWI     SWI_Wimp_ReadPalette + XOS_Bit
  54.         MOVVC   a1, #0
  55.  
  56.         MOVS    pc, ip
  57. ;        LDMFD   sp!, {pc}^
  58. ;
  59.         END
  60.